html {
  height: 100vh;
  width: 100vw;
  color: #303133;
  font-size: 14px;
  line-height: 1.4;
}

page {
  height: 100%;
  background-color: #f6f7f9;
  font-family: Helvetica Neue, Helvetica, sans-serif;
  color: #303133;
  font-size: 14px;
  //不能有这个，要不然h5无法滚动
  //overflow-x: hidden;
  button {
    line-height: 1.5;
  }

  button::after {
    border: none;
  }

  ul {
    list-style: none;
  }
}

body {
  height: 100%;
  width: 100%;
}

#app {
  height: 100%;
  width: 100%;
}

text {
  line-height: 1;
}

page,
view,
scroll-view,
swiper,
input,
textarea,
label,
navigator,
image {
  line-height: 1.4;
  box-sizing: border-box;
  word-break: break-all;
  margin: 0;
  padding: 0;
}

.font-cut {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.font2-cut {
  display: -webkit-box; //盒子模型
  -webkit-box-orient: vertical; //元素的排列方式，垂直居中
  -webkit-line-clamp: 2; //设置行数，2行显示
  overflow: hidden; //隐藏溢出内容
  text-overflow: ellipsis; //超出的内容显示省略号
}


.font3-cut {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

a {
  text-decoration: none
}

:focus {
  outline-width: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fade-in-out {
  animation: fade-in 1s;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  /*初始状态 透明度为0*/
  100% {
    opacity: 1;
  }
  /*结束状态 透明度为1*/
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  /*初始状态 透明度为0*/
  100% {
    opacity: 0;
  }
  /*结束状态 透明度为1*/
}

.rotate90 {
  transform: rotate(90deg);
}

.text-ellipsis {
  //对超出内容隐藏
  overflow: hidden !important;
  //显示省略符号来代表被修剪的文本
  text-overflow: ellipsis !important;
  //文本不会换行，文本会在在同一行上继续，直到遇到 <br> 标签为止。
  white-space: nowrap !important;
}

.img-size100p {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  -webkit-appearance: none;
  background: transparent;
}
